/**
 Copyright will be fixed soon.
 Author: Hiroshi Ota.
 $Date: $
 $Revision: $
*/

#ifndef _PW_TIME_H_
#define _PW_TIME_H_

class PWTime
{
public:

	typedef unsigned long time_t;
	static const time_t TICK_IN_MS = 1;
	static const time_t TICKS_PER_SEC = 1000;

	static time_t secsToTicks(time_t a) { return a*TICKS_PER_SEC; }
	static time_t msecsToTicks(time_t a) { return a/TICK_IN_MS; }

	static time_t getSystemUpTime();
};

#endif // _PW_TIME_H_
